package com.geek.javase.ch18.videodemo.pattern.proxy.cglib;


public class Test {
    public static void main(String[] args) {
        //目标对象
        BankService target = new BankService();
        //代理对象
        BankService proxy = new CglibProxyBankLogService(target).getProxy();

        //执行方法
        proxy.login(1L, "123");
        proxy.register(1L, "张三", "123");
    }
}
